package com.shop.cereshop.commons.enums.blacklist;

/**
 * @description: 黑名单状态枚举
 * @author zdd
 * @date 2025/11/12 17:14
 * @version 1.0
 */
public enum BlacklistStatus {

    ACTIVE(1, "有效"),
    INACTIVE(0, "已解除"),
    EXPIRED(-1, "已过期");

    private final Integer code;
    private final String desc;

    BlacklistStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
